import Vue from 'vue'
import VueRouter from 'vue-router'

const MainIndex = () => import(/* webpackChunkName: 'MainIndex' */ '@/module/pages/main-index/main-index')

Vue.use(VueRouter)

const routes = [
  { path: '/', component: MainIndex, name: 'main' }
]

const router = new VueRouter({ routes })

export default router
